package net.takela.common.spring.exception;

import net.takela.common.spring.http.StatusCode;


/**
 * @author baboy
 * create at 2023/1/22
 */
public class DataException extends StatusCodeException {


	private static final long serialVersionUID = 5034570055721040440L;
    /**
     * 
     */
	public DataException(int status, String msgKey, Object... args) {
		super(status, msgKey, args);
	}
    /**
     * 
     */
	public DataException(String msgKey, Object... args) {
		super(StatusCode.ERROR.getCode(),msgKey,args);
	}
    /**
     * 
     */
	public DataException(){
		super(StatusCode.ERROR.getCode());
	}
}
